"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8098,3597,5593,1310,3698],{63698:function(e,t,r){r.r(t),r.d(t,{default:function(){return i}});var n,l=r(67294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{setVisible:p}=(0,l.useContext)(i.c),{setValue:h,setDisplayValue:m,isControlled:g}=(0,l.useContext)(o.Z),v=(0,l.useCallback)(t=>{h&&c&&h(c),!g&&m&&e&&m(e),p?.(!1),u&&u(t)},[e,u,c,m,h,p,g]),w=c?{"data-value":c}:{};return l.createElement(r?"a":"div",{ref:f,className:n(s,t&&`${s}--disabled`,a&&`${s}--selected`),href:r,target:d,onClick:v,role:r?void 0:"option",...w},e)});c.displayName="DropdownItem"},7908:function(e,t,r){r.d(t,{Lt:function(){return c},Z1:function(){return s},pi:function(){return o},yb:function(){return i}});var n=r(93967),l=r(67294),a=r(20551);let i=(0,a.Q)("dropdown"),o=(0,a.Q)("dropdown__menu");function s(e,t=i){let r=[],n=`${t}--vertical-align`,l=`${t}--horizontal-align`;return e.startsWith("top")&&r.push(`${n}-top`),e.endsWith("-start")?r.push(`${l}-left`):e.endsWith("-end")?r.push(`${l}-right`):r.push(`${l}-center`),r}let c=({showTail:e=!1,className:t,children:r,width:a="fixed",visible:c=!1,placement:u="bottom",noTopMargin:d=!1})=>{let f=n(i,s(u),"full"===a&&`${i}--full`,c&&`${i}--visible`,e&&`${i}--tail`,d&&`${i}--noMargin`,t);return l.createElement("div",{className:f},l.createElement("div",{className:n(o)},r))};c.defaultProps={dropdown:!0}},55502:function(e,t,r){r.d(t,{n:function(){return c}});var n=r(93967),l=r(67294),a=r(37148),i=r(20551);let o=(0,i.Q)("field-message"),s=(0,i.Q)("field-message__text"),c=({className:e,disabled:t=!1,message:r="",messageType:i="info",htmlProps:c,children:u,darkTheme:d=!1})=>l.createElement("div",{...c,className:n(`${o}`,e)},u,r&&l.createElement(a.x,{size:"s",elementType:"span",className:n(s,"error"===i&&`${s}--error`,t&&`${s}--disabled`,"info"===i&&d&&`${s}--light`)},r))},45924:function(e,t,r){r.d(t,{TZ:function(){return s},h4:function(){return u},yf:function(){return o},zR:function(){return c}});var n=r(93967),l=r(67294),a=r(20551),i=r(66109);let o=(0,a.Q)("header"),s=(0,a.Q)("header-container"),c=(0,a.Q)("header__content"),u=l.forwardRef(({scrolling:e,children:t,className:r,htmlProps:a,animated:u,hasSecondaryNav:d=!1,fadeLinks:f=!1,shouldTransform:p},h)=>{let[m,g]=(0,l.useState)(!0);return(0,l.useEffect)(()=>{if("undefined"==typeof document||!document)return;let e=document.getElementsByClassName(i.l0);if(e&&e.length){g(!1);return}g(!0)},[]),l.createElement("header",{className:n(s,e?.scrolling&&`${s}--scroll-down`,r),...a,ref:h},l.createElement("div",{className:n(o,f&&`${o}--fade-links`,d&&`${o}--with-sec-nav`,e?.scrollingUp?`${o}--scroll-up`:e?.scrolling&&`${o}--scroll-down`,!m&&`${o}--no-shadow`,u&&`${o}--animated`,p&&`${o}--transform`)},l.createElement("div",{className:n(c)},t)))});u.displayName="Header"},66109:function(e,t,r){r.d(t,{Bl:function(){return g},X9:function(){return w},in:function(){return m},l0:function(){return h}});var n=r(93967),l=r(67294),a=r(27591),i=r(63610),o=r(23597),s=r(82213),c=r(20551),u=r(7908),d=r(9926),f=r(99623);r(73935);var p=r(63989);let h=(0,c.Q)("horizontal-navigation"),m=(0,c.Q)("horizontal-navigation-container"),g="searchbox",v=({brand:e,href:t})=>{let r=()=>l.createElement(p.T,{size:"monogram",color:"light",subBrand:e,className:n(`${h}__logo`)});return t?l.createElement(s.r,{href:t,color:"light-inverted",defaultSpacing:!1,className:n(`${h}__logo__link`)},l.createElement(r,null)):l.createElement(r,null)},w=({scrolling:e,fixedPosition:t=!1,alignLeft:r=!1,children:s,className:c,containerClassName:p,DropDownItemComponent:w=d.h,logo:$,logoLink:E,shouldTransform:_,embedded:b=!1})=>{let y=(0,l.useRef)(null),N=(0,l.useRef)(null),[k,x]=(0,l.useState)(0),[z,C]=(0,l.useState)([]),[O,T]=(0,l.useState)(0),[Q,S]=(0,l.useState)(s),[j,L]=(0,l.useState)([]),[B,W]=(0,l.useState)(void 0),[P,R]=(0,l.useState)(0),M=()=>{let e=[];if(null!==y.current&&y.current.children){for(let t of y.current.children)t instanceof HTMLElement&&e.push(0===t.offsetWidth?44:t.offsetWidth);C(e)}},I=(0,l.useCallback)(()=>{null!==y.current&&(x(y.current.offsetWidth),setTimeout(()=>{if(y.current?.offsetParent&&!b){let e=N.current?.offsetTop;e&&R(e)}},300))},[b]);return(0,l.useEffect)(()=>{z.length&&T(z.reduce((e,t)=>e+t,20))},[z]),(0,l.useEffect)(()=>{if(O<=k||!Array.isArray(s))S(s),L([]),W(void 0);else{let e=$?z[0]:0,t=s.find(e=>e.props.horizontalSearchbox||e.key===g),r=$?z.slice(1):z,n=k-64-40-(t?44:0)-e,l=r.reduce((e,t,r)=>{let l=[],a=[],i=s.flat(1)[r];return i?(n>=t?l.push(i):a.push(i),n-=t,{visible:[...e.visible,...l],ellipses:[...e.ellipses,...a]}):e},{visible:[],ellipses:[]});S(l.visible),L(l.ellipses.filter(e=>e.props&&(e.props.horizontalNavLink||e.props.dropdownTrigger))),W(l.ellipses.find(e=>e.props&&e.props.horizontalSearchbox||e.key&&e.key===g))}},[k,O,s,z,$]),(0,l.useEffect)(()=>"undefined"!=typeof window&&window?(M(),I(),window.addEventListener("resize",I),()=>{window.removeEventListener("resize",I)}):()=>null,[I]),l.createElement("div",{className:n(m,p),ref:N,style:{"--horizontalNavigationTop":`${P}px`}},l.createElement("div",{className:n(h,t&&`${h}--fixed`,e?.scrollingUp?`${h}--scrolling-up`:e?.scrolling&&`${h}--scrolling`,_&&`${h}--transform`,c)},l.createElement(a.W,{padding:"none",width:"full"},l.createElement("div",{ref:y,className:n(`${h}__content`,r&&`${h}__content--left`)},$&&l.createElement(v,{brand:$,href:E}),Q,!!j.length&&l.createElement(f.W,{trigger:"hover",className:n(`${h}__ellipses`)},l.createElement(i.J,{icon:o.default,size:"xs",className:n(`${h}__ellipses-icon`),color:"primaryInverted"}),l.createElement(u.Lt,{showTail:!0,placement:"bottom-end"},l.Children.map(j,(e,t)=>e?.props.horizontalNavLink?l.createElement(w,{key:t,href:e.props.href,target:e.props.target,selected:e.props.selected,disabled:e.props.disabled,onClick:e.props.onClick,ref:e.props.ref},e.props.children):e?.props.dropdownTrigger?e.props.children.filter(e=>e.props.dropdown)[0].props.children.map((e,t)=>l.createElement(w,{key:t,href:e.props.href,target:e.props.target,selected:e.props.selected,disabled:e.props.disabled,onClick:e.props.onClick,ref:e.props.ref},e.props.children)):null))),B))))}},4287:function(e,t,r){r.d(t,{P:function(){return f},Z:function(){return d}});var n=r(93967),l=r(67294),a=r(20551),i=r(7908),o=r(99623),s=r(55502),c=r(13323);let u=(0,a.Q)("select"),d=(0,l.createContext)({}),f=({theme:e="light",prefixIcon:t,message:r,messageType:a,placeholder:f,value:p,className:h,enableClear:m,setValue:g,onBlur:v,onClear:w,htmlProps:$,children:E})=>{let[_,b]=(0,l.useState)("");return l.createElement(s.n,{...$,className:n(`${u}__wrapper`,h),message:r,messageType:a,darkTheme:"dark"===e},l.createElement("div",{tabIndex:-1,onBlur:v,style:{outline:"none"}},l.createElement(d.Provider,{value:{setValue:g,setDisplayValue:b,isControlled:!!p}},l.createElement(o.W,{className:n(`${u}__dropdown-wrapper`),width:"full",trigger:"click"},l.createElement(c.i,{theme:e,prefixIcon:t,messageType:a,onClear:()=>{b(""),w&&w()},showClear:!!(m&&(p||_)),isSelected:!!p||!!_},p||_||f),l.createElement(i.Lt,{placement:"bottom",noTopMargin:!0},E)))))}},13323:function(e,t,r){r.d(t,{i:function(){return c}});var n=r(93967),l=r(67294),a=r(63610),i=r(14116),o=r(63698);let s=(0,r(20551).Q)("select"),c=({theme:e="light",prefixIcon:t,messageType:r,showClear:c,isSelected:u=!1,className:d,onClick:f,onBlur:p,onClear:h,htmlProps:m,children:g})=>{let v=n(`${s}__trigger`,u?`${s}__trigger--selected`:"",`${s}__trigger--${e}`,"error"===r?`${s}__trigger--error`:"",t?`${s}__trigger--prefix`:"",d);return l.createElement("div",null,l.createElement("div",{...m,onClick:f,onBlur:p,className:v},g),t&&l.createElement(a.J,{icon:t,size:"xs",className:n(`${s}__icon-left`)}),c?l.createElement(a.J,{className:n(`${s}__icon-right`,`${s}__icon-right--close`),icon:i.default,size:"xs",onClick:h}):l.createElement(a.J,{className:n(`${s}__icon-right`),icon:o.default,size:"xs"}))}},82213:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(93967),l=r(67294);let a=(0,r(20551).Q)("link"),i=l.forwardRef(function({className:e,display:t="inline",href:r,target:i,onClick:o,htmlProps:s,children:c,color:u="blue",defaultSpacing:d=!0,textDecoration:f=!0,component:p},h){let m=p??"a";return l.createElement(m,{...s,className:n("a"!==m&&"unset",a,`${a}--display-${t}`,e,"gray"===u&&`${a}--gray`,"secondary-dark"===u&&`${a}--secondary-dark`,"light-gray"===u&&`${a}--light-gray`,"light-inverted"===u&&`${a}--light-inverted`,"light-blue"===u&&`${a}--light-blue`,!f&&`${a}--no-decoration`,!d&&`${a}--no-spacing`),href:r,ref:h,target:i,onClick:o},c)});i.displayName="Link"}}]);